from distutils.core import setup
from Cython.Build import cythonize
#python3 to_so.py build_ext --inplace
setup(
    ext_modules=cythonize(module_list=["app/services/**/*.py",
                                       "app/utils/**/*.py",
                                       ],
                          exclude=["app/utils/**/__init__.py",
                                   "app/services/models/*",
                                   "app/services/**/__init__.py",
                                   ])
    # 注意这里推荐使用相对路径，编译出的so文件在引用其他模块时可能会出现路径问题
)
